import React, { Component } from 'react'
import axios from 'axios'

const FetchBookDetail = ({ id }: { id:number } ) => {
  return axios.get(`http://127.0.0.1:3005/api/bookDetail/${id}`)
}

export default () => {
  return (
    <div>
      BookList
      {/* 根据bookId 渲染详情接口 */}


    </div>
  )
}
